package com.atguigu.educenter.service;

import com.atguigu.educenter.entity.UcenterMember;
import com.atguigu.educenter.entity.vo.RegisterVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author testjava
 * @since 2021-10-17
 */
public interface UcenterMemberService extends IService<UcenterMember> {
    //登录
    String loin(UcenterMember member);
    //注册
    void register(RegisterVo registerVo);
    //判断在数据库是否有相同的微信id，有就无需添加
    UcenterMember getOpenIdMenber(String openid);
    //查询某一天注册人数
    Integer countRegisterDay(String day);
}
